<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>OrbbecSDK: ob::Device类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="orbbec_icon.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OrbbecSDK
   &#160;<span id="projectnumber">1.8.3</span>
   </div>
   <div id="projectbrief">OrbbecSDK: 奥比中光 3D 相机开发套件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceob.html">ob</a></li><li class="navelem"><a class="el" href="classob_1_1Device.html">Device</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="classob_1_1Device-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">ob::Device类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>定义 <a class="el" href="classob_1_1Device.html" title="定义 Device 类 ">Device</a> 类  
 <a href="classob_1_1Device.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="Device_8hpp_source.html">Device.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a4bbc101b3b034fda60a903b1e72719f5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a4bbc101b3b034fda60a903b1e72719f5">Device</a> (std::unique_ptr&lt; DeviceImpl &gt; impl)</td></tr>
<tr class="memdesc:a4bbc101b3b034fda60a903b1e72719f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">描述 RGBD 相机的实体，代表一个具体型号的 RGBD 相机  <a href="#a4bbc101b3b034fda60a903b1e72719f5">更多...</a><br /></td></tr>
<tr class="separator:a4bbc101b3b034fda60a903b1e72719f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fbdd8a07a50e4ce4a30804d216fe175"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a9fbdd8a07a50e4ce4a30804d216fe175">~Device</a> () noexcept</td></tr>
<tr class="separator:a9fbdd8a07a50e4ce4a30804d216fe175"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a569a6702fb6714954e29f8706ec2f281"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="classob_1_1DeviceInfo.html">DeviceInfo</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a569a6702fb6714954e29f8706ec2f281">getDeviceInfo</a> ()</td></tr>
<tr class="memdesc:a569a6702fb6714954e29f8706ec2f281"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取设备信息  <a href="#a569a6702fb6714954e29f8706ec2f281">更多...</a><br /></td></tr>
<tr class="separator:a569a6702fb6714954e29f8706ec2f281"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa81c1777e26604eceaca49057da8d3c0"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="classob_1_1SensorList.html">SensorList</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#aa81c1777e26604eceaca49057da8d3c0">getSensorList</a> ()</td></tr>
<tr class="memdesc:aa81c1777e26604eceaca49057da8d3c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取设备传感器列表  <a href="#aa81c1777e26604eceaca49057da8d3c0">更多...</a><br /></td></tr>
<tr class="separator:aa81c1777e26604eceaca49057da8d3c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1596fafafe2fab26ff5fe5cc21cd954d"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="classob_1_1Sensor.html">Sensor</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a1596fafafe2fab26ff5fe5cc21cd954d">getSensor</a> (<a class="el" href="ObTypes_8h.html#a0bf6f74f3eaabbf4a71720b9363b2aa8">OBSensorType</a> type)</td></tr>
<tr class="memdesc:a1596fafafe2fab26ff5fe5cc21cd954d"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取指定类型传感器 如果设备没有打开传感器，在 SDK 内部会自动打开设备并返回实例  <a href="#a1596fafafe2fab26ff5fe5cc21cd954d">更多...</a><br /></td></tr>
<tr class="separator:a1596fafafe2fab26ff5fe5cc21cd954d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66eae09af03e4af525e5e95256c56d0e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a66eae09af03e4af525e5e95256c56d0e">setIntProperty</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, int32_t property)</td></tr>
<tr class="memdesc:a66eae09af03e4af525e5e95256c56d0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置 int 类型的设备属性  <a href="#a66eae09af03e4af525e5e95256c56d0e">更多...</a><br /></td></tr>
<tr class="separator:a66eae09af03e4af525e5e95256c56d0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c822d67da621031f270fe2644f4bf83"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a7c822d67da621031f270fe2644f4bf83">setFloatProperty</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, float property)</td></tr>
<tr class="memdesc:a7c822d67da621031f270fe2644f4bf83"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置 float 类型的设备属性  <a href="#a7c822d67da621031f270fe2644f4bf83">更多...</a><br /></td></tr>
<tr class="separator:a7c822d67da621031f270fe2644f4bf83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a1dcbafd7d0283253cc69b153a13d87"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a6a1dcbafd7d0283253cc69b153a13d87">setBoolProperty</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, bool property)</td></tr>
<tr class="memdesc:a6a1dcbafd7d0283253cc69b153a13d87"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置 bool 类型的设备属性  <a href="#a6a1dcbafd7d0283253cc69b153a13d87">更多...</a><br /></td></tr>
<tr class="separator:a6a1dcbafd7d0283253cc69b153a13d87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3c95519c4f9237b54abadf6fd06920e"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#aa3c95519c4f9237b54abadf6fd06920e">getIntProperty</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId)</td></tr>
<tr class="memdesc:aa3c95519c4f9237b54abadf6fd06920e"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 int 类型的设备属性  <a href="#aa3c95519c4f9237b54abadf6fd06920e">更多...</a><br /></td></tr>
<tr class="separator:aa3c95519c4f9237b54abadf6fd06920e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e904d68d7a99c3f7cbd095394f8725a"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a7e904d68d7a99c3f7cbd095394f8725a">getFloatProperty</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId)</td></tr>
<tr class="memdesc:a7e904d68d7a99c3f7cbd095394f8725a"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 float 类型的设备属性  <a href="#a7e904d68d7a99c3f7cbd095394f8725a">更多...</a><br /></td></tr>
<tr class="separator:a7e904d68d7a99c3f7cbd095394f8725a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac88b748fde7f65dbb8618b3c78d4f111"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#ac88b748fde7f65dbb8618b3c78d4f111">getBoolProperty</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId)</td></tr>
<tr class="memdesc:ac88b748fde7f65dbb8618b3c78d4f111"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 bool 类型的设备属性  <a href="#ac88b748fde7f65dbb8618b3c78d4f111">更多...</a><br /></td></tr>
<tr class="separator:ac88b748fde7f65dbb8618b3c78d4f111"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62c9666afdf498bed5a75f8d06ab6990"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structOBIntPropertyRange.html">OBIntPropertyRange</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a62c9666afdf498bed5a75f8d06ab6990">getIntPropertyRange</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId)</td></tr>
<tr class="memdesc:a62c9666afdf498bed5a75f8d06ab6990"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 int 类型的设备属性的范围 (包括当前值和默认值)  <a href="#a62c9666afdf498bed5a75f8d06ab6990">更多...</a><br /></td></tr>
<tr class="separator:a62c9666afdf498bed5a75f8d06ab6990"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5729b4690b32abb92da9afeda170d1eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structOBFloatPropertyRange.html">OBFloatPropertyRange</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a5729b4690b32abb92da9afeda170d1eb">getFloatPropertyRange</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId)</td></tr>
<tr class="memdesc:a5729b4690b32abb92da9afeda170d1eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 float 类型的设备属性的范围 (包括当前值和默认值)  <a href="#a5729b4690b32abb92da9afeda170d1eb">更多...</a><br /></td></tr>
<tr class="separator:a5729b4690b32abb92da9afeda170d1eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bf83911afddf9f427a92a64acd58524"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structOBBoolPropertyRange.html">OBBoolPropertyRange</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a6bf83911afddf9f427a92a64acd58524">getBoolPropertyRange</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId)</td></tr>
<tr class="memdesc:a6bf83911afddf9f427a92a64acd58524"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 bool 类型的设备属性的范围 (包括当前值和默认值)  <a href="#a6bf83911afddf9f427a92a64acd58524">更多...</a><br /></td></tr>
<tr class="separator:a6bf83911afddf9f427a92a64acd58524"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba075ac90895eb023a100490ccc6d6f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#aba075ac90895eb023a100490ccc6d6f3">writeAHB</a> (uint32_t reg, uint32_t mask, uint32_t value)</td></tr>
<tr class="memdesc:aba075ac90895eb023a100490ccc6d6f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">AHB 写寄存器  <a href="#aba075ac90895eb023a100490ccc6d6f3">更多...</a><br /></td></tr>
<tr class="separator:aba075ac90895eb023a100490ccc6d6f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a635a8e05753a59500c092d0e127d2b3a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a635a8e05753a59500c092d0e127d2b3a">readAHB</a> (uint32_t reg, uint32_t mask, uint32_t *value)</td></tr>
<tr class="memdesc:a635a8e05753a59500c092d0e127d2b3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">AHB 读寄存器  <a href="#a635a8e05753a59500c092d0e127d2b3a">更多...</a><br /></td></tr>
<tr class="separator:a635a8e05753a59500c092d0e127d2b3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0afce85aa8d085e210925db912492d3b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a0afce85aa8d085e210925db912492d3b">writeI2C</a> (uint32_t moduleId, uint32_t reg, uint32_t mask, uint32_t value)</td></tr>
<tr class="memdesc:a0afce85aa8d085e210925db912492d3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C 写寄存器  <a href="#a0afce85aa8d085e210925db912492d3b">更多...</a><br /></td></tr>
<tr class="separator:a0afce85aa8d085e210925db912492d3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bb47c0b13611b7dd00e3ffbcee21aec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a1bb47c0b13611b7dd00e3ffbcee21aec">readI2C</a> (uint32_t moduleId, uint32_t reg, uint32_t mask, uint32_t *value)</td></tr>
<tr class="memdesc:a1bb47c0b13611b7dd00e3ffbcee21aec"><td class="mdescLeft">&#160;</td><td class="mdescRight">I2C 读寄存器  <a href="#a1bb47c0b13611b7dd00e3ffbcee21aec">更多...</a><br /></td></tr>
<tr class="separator:a1bb47c0b13611b7dd00e3ffbcee21aec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05f4f760a391cbae0571623e1525fd54"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a05f4f760a391cbae0571623e1525fd54">writeFlash</a> (uint32_t offset, const void *data, uint32_t dataSize, <a class="el" href="Types_8hpp.html#a55032b39d9a625cc1b43684765ad46b1">SetDataCallback</a> callback, bool async=false)</td></tr>
<tr class="memdesc:a05f4f760a391cbae0571623e1525fd54"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置写入 Flash 的属性  <a href="#a05f4f760a391cbae0571623e1525fd54">更多...</a><br /></td></tr>
<tr class="separator:a05f4f760a391cbae0571623e1525fd54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7726384f7d51bd80124c0d3de505e99"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#ab7726384f7d51bd80124c0d3de505e99">readFlash</a> (uint32_t offset, uint32_t dataSize, <a class="el" href="Types_8hpp.html#ad61b52694f0b59f151b1a380d3db0876">GetDataCallback</a> callback, bool async=false)</td></tr>
<tr class="memdesc:ab7726384f7d51bd80124c0d3de505e99"><td class="mdescLeft">&#160;</td><td class="mdescRight">读取 Flash 的属性  <a href="#ab7726384f7d51bd80124c0d3de505e99">更多...</a><br /></td></tr>
<tr class="separator:ab7726384f7d51bd80124c0d3de505e99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab691352346a2f3c9b3244b9013eb3516"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#ab691352346a2f3c9b3244b9013eb3516">writeCustomerData</a> (const void *data, uint32_t dataSize)</td></tr>
<tr class="memdesc:ab691352346a2f3c9b3244b9013eb3516"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置客户自定义数据，写入到 flash。  <a href="#ab691352346a2f3c9b3244b9013eb3516">更多...</a><br /></td></tr>
<tr class="separator:ab691352346a2f3c9b3244b9013eb3516"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33ea10323fe7e482fa58fa8925aa6eeb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a33ea10323fe7e482fa58fa8925aa6eeb">readCustomerData</a> (void *data, uint32_t *dataSize)</td></tr>
<tr class="memdesc:a33ea10323fe7e482fa58fa8925aa6eeb"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取保存在 flash 的客户自定义数据  <a href="#a33ea10323fe7e482fa58fa8925aa6eeb">更多...</a><br /></td></tr>
<tr class="separator:a33ea10323fe7e482fa58fa8925aa6eeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10a91864fdff7248c3a2a8a2d4944fdf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a10a91864fdff7248c3a2a8a2d4944fdf">setRawData</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, const void *data, uint32_t dataSize, <a class="el" href="Types_8hpp.html#a55032b39d9a625cc1b43684765ad46b1">SetDataCallback</a> callback, bool async=false)</td></tr>
<tr class="memdesc:a10a91864fdff7248c3a2a8a2d4944fdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置 raw data 类型的设备属性数据 [异步回调]  <a href="#a10a91864fdff7248c3a2a8a2d4944fdf">更多...</a><br /></td></tr>
<tr class="separator:a10a91864fdff7248c3a2a8a2d4944fdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90a74519cb001a6af1137d7d17361ac4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a90a74519cb001a6af1137d7d17361ac4">getRawData</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, <a class="el" href="Types_8hpp.html#ad61b52694f0b59f151b1a380d3db0876">GetDataCallback</a> callback, bool async=false)</td></tr>
<tr class="memdesc:a90a74519cb001a6af1137d7d17361ac4"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 raw data 类型的设备属性数据 [异步回调]  <a href="#a90a74519cb001a6af1137d7d17361ac4">更多...</a><br /></td></tr>
<tr class="separator:a90a74519cb001a6af1137d7d17361ac4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e19420a05358a7d0017132e0db3425b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a5e19420a05358a7d0017132e0db3425b">setStructuredData</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, const void *data, uint32_t dataSize)</td></tr>
<tr class="memdesc:a5e19420a05358a7d0017132e0db3425b"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置 structured data 类型的设备属性  <a href="#a5e19420a05358a7d0017132e0db3425b">更多...</a><br /></td></tr>
<tr class="separator:a5e19420a05358a7d0017132e0db3425b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49cb98480e2528dd1149d158945852e8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a49cb98480e2528dd1149d158945852e8">getStructuredData</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, void *data, uint32_t *dataSize)</td></tr>
<tr class="memdesc:a49cb98480e2528dd1149d158945852e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 structured data 类型的设备属性  <a href="#a49cb98480e2528dd1149d158945852e8">更多...</a><br /></td></tr>
<tr class="separator:a49cb98480e2528dd1149d158945852e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4eed1a9902604fdeb34f53f2c75e12be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a4eed1a9902604fdeb34f53f2c75e12be">setStructuredDataExt</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, std::shared_ptr&lt; <a class="el" href="structOBDataBundle.html">OBDataBundle</a> &gt; dataBundle, <a class="el" href="Types_8hpp.html#a55032b39d9a625cc1b43684765ad46b1">SetDataCallback</a> callback)</td></tr>
<tr class="memdesc:a4eed1a9902604fdeb34f53f2c75e12be"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置 Structured Data Ext 对象  <a href="#a4eed1a9902604fdeb34f53f2c75e12be">更多...</a><br /></td></tr>
<tr class="separator:a4eed1a9902604fdeb34f53f2c75e12be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd58aee8d19a3e21fb2eb1b0b967a0ee"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="structOBDataBundle.html">OBDataBundle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#afd58aee8d19a3e21fb2eb1b0b967a0ee">getStructuredDataExt</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId)</td></tr>
<tr class="memdesc:afd58aee8d19a3e21fb2eb1b0b967a0ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取 structured data 类型的数据  <a href="#afd58aee8d19a3e21fb2eb1b0b967a0ee">更多...</a><br /></td></tr>
<tr class="separator:afd58aee8d19a3e21fb2eb1b0b967a0ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62e5bf0c91dbb9e43d3c3c1bfceac071"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structOBProtocolVersion.html">OBProtocolVersion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a62e5bf0c91dbb9e43d3c3c1bfceac071">getProtocolVersion</a> ()</td></tr>
<tr class="memdesc:a62e5bf0c91dbb9e43d3c3c1bfceac071"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取设备的控制命令协议版本  <a href="#a62e5bf0c91dbb9e43d3c3c1bfceac071">更多...</a><br /></td></tr>
<tr class="separator:a62e5bf0c91dbb9e43d3c3c1bfceac071"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29eb2331e62d75e26614de17afa71983"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a3831c1a41a610f549bd07c5c9872556f">OBCmdVersion</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a29eb2331e62d75e26614de17afa71983">getCmdVersion</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId)</td></tr>
<tr class="memdesc:a29eb2331e62d75e26614de17afa71983"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取控制命令的版本号  <a href="#a29eb2331e62d75e26614de17afa71983">更多...</a><br /></td></tr>
<tr class="separator:a29eb2331e62d75e26614de17afa71983"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6c6002275057cf72084e2ec14f5241e"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#ae6c6002275057cf72084e2ec14f5241e">getSupportedPropertyCount</a> ()</td></tr>
<tr class="memdesc:ae6c6002275057cf72084e2ec14f5241e"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取设备支持的属性的数量  <a href="#ae6c6002275057cf72084e2ec14f5241e">更多...</a><br /></td></tr>
<tr class="separator:ae6c6002275057cf72084e2ec14f5241e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a869c829df2527eaf295882a289add42d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structOBPropertyItem.html">OBPropertyItem</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a869c829df2527eaf295882a289add42d">getSupportedProperty</a> (uint32_t index)</td></tr>
<tr class="memdesc:a869c829df2527eaf295882a289add42d"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取设备支持的属性  <a href="#a869c829df2527eaf295882a289add42d">更多...</a><br /></td></tr>
<tr class="separator:a869c829df2527eaf295882a289add42d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6401bf12c3eccd82891da15ebf2dd81c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a6401bf12c3eccd82891da15ebf2dd81c">isPropertySupported</a> (<a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a> propertyId, <a class="el" href="ObTypes_8h.html#aabf1ee574b8ce0e574add2cea5fdbe27">OBPermissionType</a> permission)</td></tr>
<tr class="memdesc:a6401bf12c3eccd82891da15ebf2dd81c"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断属性权限支持情况  <a href="#a6401bf12c3eccd82891da15ebf2dd81c">更多...</a><br /></td></tr>
<tr class="separator:a6401bf12c3eccd82891da15ebf2dd81c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2bd8a9f47d3fe9bb7be0b173b2cab7d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#ab2bd8a9f47d3fe9bb7be0b173b2cab7d">deviceUpgrade</a> (const char *filePath, <a class="el" href="Types_8hpp.html#a7ba2b2a9b8b236cd9d7bbbf666c49989">DeviceUpgradeCallback</a> callback, bool async=true)</td></tr>
<tr class="memdesc:ab2bd8a9f47d3fe9bb7be0b173b2cab7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">升级设备固件  <a href="#ab2bd8a9f47d3fe9bb7be0b173b2cab7d">更多...</a><br /></td></tr>
<tr class="separator:ab2bd8a9f47d3fe9bb7be0b173b2cab7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f0f110f2ef0edeba0bf776241878580"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a6f0f110f2ef0edeba0bf776241878580">deviceUpgradeFromData</a> (const char *fileData, uint32_t fileSize, <a class="el" href="Types_8hpp.html#a7ba2b2a9b8b236cd9d7bbbf666c49989">DeviceUpgradeCallback</a> callback, bool async=true)</td></tr>
<tr class="memdesc:a6f0f110f2ef0edeba0bf776241878580"><td class="mdescLeft">&#160;</td><td class="mdescRight">升级设备固件  <a href="#a6f0f110f2ef0edeba0bf776241878580">更多...</a><br /></td></tr>
<tr class="separator:a6f0f110f2ef0edeba0bf776241878580"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0a525cebe10c3369d3060516a1ab3ef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#ad0a525cebe10c3369d3060516a1ab3ef">sendFile</a> (const char *filePath, const char *dstPath, <a class="el" href="Types_8hpp.html#af4ed1a1867e655fa5e4b77e646f080a4">SendFileCallback</a> callback, bool async=true)</td></tr>
<tr class="memdesc:ad0a525cebe10c3369d3060516a1ab3ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送文件到设备端指定路径 [异步回调]  <a href="#ad0a525cebe10c3369d3060516a1ab3ef">更多...</a><br /></td></tr>
<tr class="separator:ad0a525cebe10c3369d3060516a1ab3ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac2306bc576a712b9ac2ce8ec72d55f8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a22fc53a75b8fa17029bb0befcb9c6829">OBDeviceState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#aac2306bc576a712b9ac2ce8ec72d55f8">getDeviceState</a> ()</td></tr>
<tr class="memdesc:aac2306bc576a712b9ac2ce8ec72d55f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前设备状态  <a href="#aac2306bc576a712b9ac2ce8ec72d55f8">更多...</a><br /></td></tr>
<tr class="separator:aac2306bc576a712b9ac2ce8ec72d55f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb598f9726aafc210c7fb01774065172"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#acb598f9726aafc210c7fb01774065172">setDeviceStateChangedCallback</a> (<a class="el" href="Types_8hpp.html#a13d2e28ccdab82c8e22163d4b71f48aa">DeviceStateChangedCallback</a> callback)</td></tr>
<tr class="memdesc:acb598f9726aafc210c7fb01774065172"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置设备状态改变回调函数  <a href="#acb598f9726aafc210c7fb01774065172">更多...</a><br /></td></tr>
<tr class="separator:acb598f9726aafc210c7fb01774065172"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bec58d49565ad02b7951907fb71ee2c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a2bec58d49565ad02b7951907fb71ee2c">activateAuthorization</a> (const char *authCode)</td></tr>
<tr class="memdesc:a2bec58d49565ad02b7951907fb71ee2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">验证设备授权码  <a href="#a2bec58d49565ad02b7951907fb71ee2c">更多...</a><br /></td></tr>
<tr class="separator:a2bec58d49565ad02b7951907fb71ee2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31d17dfb1127c3991a077ebd0d64ae4f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a31d17dfb1127c3991a077ebd0d64ae4f">writeAuthorizationCode</a> (const char *authCodeStr)</td></tr>
<tr class="memdesc:a31d17dfb1127c3991a077ebd0d64ae4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">写入设备授权码  <a href="#a31d17dfb1127c3991a077ebd0d64ae4f">更多...</a><br /></td></tr>
<tr class="separator:a31d17dfb1127c3991a077ebd0d64ae4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a792366d449d6cf97696f77c0b478bf25"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="classob_1_1CameraParamList.html">CameraParamList</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a792366d449d6cf97696f77c0b478bf25">getCalibrationCameraParamList</a> ()</td></tr>
<tr class="memdesc:a792366d449d6cf97696f77c0b478bf25"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取设备内保存的相机标定的原始参数列表，  <a href="#a792366d449d6cf97696f77c0b478bf25">更多...</a><br /></td></tr>
<tr class="separator:a792366d449d6cf97696f77c0b478bf25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1377e9b551a7b35fc59c984896cc5df0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structOBDepthWorkMode.html">OBDepthWorkMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a1377e9b551a7b35fc59c984896cc5df0">getCurrentDepthWorkMode</a> ()</td></tr>
<tr class="memdesc:a1377e9b551a7b35fc59c984896cc5df0"><td class="mdescLeft">&#160;</td><td class="mdescRight">查询当前的相机深度模式  <a href="#a1377e9b551a7b35fc59c984896cc5df0">更多...</a><br /></td></tr>
<tr class="separator:a1377e9b551a7b35fc59c984896cc5df0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab952b1ebbfb58738024e8a8a164b5bcf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a16946a0e76e54d58fe6a945fccc3190b">OBStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#ab952b1ebbfb58738024e8a8a164b5bcf">switchDepthWorkMode</a> (const <a class="el" href="structOBDepthWorkMode.html">OBDepthWorkMode</a> &amp;workMode)</td></tr>
<tr class="memdesc:ab952b1ebbfb58738024e8a8a164b5bcf"><td class="mdescLeft">&#160;</td><td class="mdescRight">切换相机深度模式（根据深度工作模式对象），如果知道设备支持的深度工作模式名称，那么推荐用 <a class="el" href="classob_1_1Device.html#a9601703a8e0c49a6128fc5fbba012be8" title="切换相机深度模式（根据深度工作模式名称） ">switchDepthWorkMode(const char *modeName)</a>  <a href="#ab952b1ebbfb58738024e8a8a164b5bcf">更多...</a><br /></td></tr>
<tr class="separator:ab952b1ebbfb58738024e8a8a164b5bcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9601703a8e0c49a6128fc5fbba012be8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#a16946a0e76e54d58fe6a945fccc3190b">OBStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a9601703a8e0c49a6128fc5fbba012be8">switchDepthWorkMode</a> (const char *modeName)</td></tr>
<tr class="memdesc:a9601703a8e0c49a6128fc5fbba012be8"><td class="mdescLeft">&#160;</td><td class="mdescRight">切换相机深度模式（根据深度工作模式名称）  <a href="#a9601703a8e0c49a6128fc5fbba012be8">更多...</a><br /></td></tr>
<tr class="separator:a9601703a8e0c49a6128fc5fbba012be8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77eefea9ac546664ef91faac278a7957"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="classob_1_1OBDepthWorkModeList.html">OBDepthWorkModeList</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a77eefea9ac546664ef91faac278a7957">getDepthWorkModeList</a> ()</td></tr>
<tr class="memdesc:a77eefea9ac546664ef91faac278a7957"><td class="mdescLeft">&#160;</td><td class="mdescRight">查询相机深度模式列表  <a href="#a77eefea9ac546664ef91faac278a7957">更多...</a><br /></td></tr>
<tr class="separator:a77eefea9ac546664ef91faac278a7957"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9abc8db448a8181e2cf5849f3dea75dd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a9abc8db448a8181e2cf5849f3dea75dd">reboot</a> ()</td></tr>
<tr class="memdesc:a9abc8db448a8181e2cf5849f3dea75dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">设备重启  <a href="#a9abc8db448a8181e2cf5849f3dea75dd">更多...</a><br /></td></tr>
<tr class="separator:a9abc8db448a8181e2cf5849f3dea75dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6370104afd5044074c8a0069816ac156"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a6370104afd5044074c8a0069816ac156">reboot</a> (uint32_t delayMs)</td></tr>
<tr class="memdesc:a6370104afd5044074c8a0069816ac156"><td class="mdescLeft">&#160;</td><td class="mdescRight">设备重启延迟模式  <a href="#a6370104afd5044074c8a0069816ac156">更多...</a><br /></td></tr>
<tr class="separator:a6370104afd5044074c8a0069816ac156"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39fb107e1de53d5b5a122f3178b5dde0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#ac1e8a42306d8e67cb94ca31c3956ee78">DEPRECATED</a> uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a39fb107e1de53d5b5a122f3178b5dde0">syncDeviceTime</a> ()</td></tr>
<tr class="memdesc:a39fb107e1de53d5b5a122f3178b5dde0"><td class="mdescLeft">&#160;</td><td class="mdescRight">同步设备时间（将本地系统时间同步到设备）  <a href="#a39fb107e1de53d5b5a122f3178b5dde0">更多...</a><br /></td></tr>
<tr class="separator:a39fb107e1de53d5b5a122f3178b5dde0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae522b554820d4fb62f38c78e9a15dc0f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#ac1e8a42306d8e67cb94ca31c3956ee78">DEPRECATED</a> <a class="el" href="structOBDeviceSyncConfig.html">OBDeviceSyncConfig</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#ae522b554820d4fb62f38c78e9a15dc0f">getSyncConfig</a> ()</td></tr>
<tr class="memdesc:ae522b554820d4fb62f38c78e9a15dc0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前设备同步配置  <a href="#ae522b554820d4fb62f38c78e9a15dc0f">更多...</a><br /></td></tr>
<tr class="separator:ae522b554820d4fb62f38c78e9a15dc0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24e8e3e4c80d1b8f73fbdd3215cec501"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#ac1e8a42306d8e67cb94ca31c3956ee78">DEPRECATED</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a24e8e3e4c80d1b8f73fbdd3215cec501">setSyncConfig</a> (const <a class="el" href="structOBDeviceSyncConfig.html">OBDeviceSyncConfig</a> &amp;deviceSyncConfig)</td></tr>
<tr class="memdesc:a24e8e3e4c80d1b8f73fbdd3215cec501"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置设备同步配置  <a href="#a24e8e3e4c80d1b8f73fbdd3215cec501">更多...</a><br /></td></tr>
<tr class="separator:a24e8e3e4c80d1b8f73fbdd3215cec501"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecf09140ececba0e42283d3aa236b8f2"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#aecf09140ececba0e42283d3aa236b8f2">getSupportedMultiDeviceSyncModeBitmap</a> ()</td></tr>
<tr class="memdesc:aecf09140ececba0e42283d3aa236b8f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取设备支持的多设备同步模式位图  <a href="#aecf09140ececba0e42283d3aa236b8f2">更多...</a><br /></td></tr>
<tr class="separator:aecf09140ececba0e42283d3aa236b8f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c85a231a9d0fa0adfc23038adb185b3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a0c85a231a9d0fa0adfc23038adb185b3">setMultiDeviceSyncConfig</a> (const <a class="el" href="ObTypes_8h.html#af4e7a91cbe5b14388da412de0deca8f1">OBMultiDeviceSyncConfig</a> &amp;config)</td></tr>
<tr class="memdesc:a0c85a231a9d0fa0adfc23038adb185b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置设备的多设备同步配置  <a href="#a0c85a231a9d0fa0adfc23038adb185b3">更多...</a><br /></td></tr>
<tr class="separator:a0c85a231a9d0fa0adfc23038adb185b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a140c19bc71384cf4aaa751879a27a1ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#af4e7a91cbe5b14388da412de0deca8f1">OBMultiDeviceSyncConfig</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a140c19bc71384cf4aaa751879a27a1ba">getMultiDeviceSyncConfig</a> ()</td></tr>
<tr class="memdesc:a140c19bc71384cf4aaa751879a27a1ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取设备的多设备同步配置  <a href="#a140c19bc71384cf4aaa751879a27a1ba">更多...</a><br /></td></tr>
<tr class="separator:a140c19bc71384cf4aaa751879a27a1ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9d3807dae6d8a1fab5ffde4c51b30bf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#aa9d3807dae6d8a1fab5ffde4c51b30bf">triggerCapture</a> ()</td></tr>
<tr class="memdesc:aa9d3807dae6d8a1fab5ffde4c51b30bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">将捕获命令发送到设备  <a href="#aa9d3807dae6d8a1fab5ffde4c51b30bf">更多...</a><br /></td></tr>
<tr class="separator:aa9d3807dae6d8a1fab5ffde4c51b30bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb82d723ca4449bb42beb58b1519c43f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#acb82d723ca4449bb42beb58b1519c43f">setTimestampResetConfig</a> (const <a class="el" href="ObTypes_8h.html#acbdc98f467b8d2b705ea2c82f9387455">OBDeviceTimestampResetConfig</a> &amp;config)</td></tr>
<tr class="memdesc:acb82d723ca4449bb42beb58b1519c43f"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置设备的时间戳重置配置  <a href="#acb82d723ca4449bb42beb58b1519c43f">更多...</a><br /></td></tr>
<tr class="separator:acb82d723ca4449bb42beb58b1519c43f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fba7fe67888ae13691b731a6952396f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ObTypes_8h.html#acbdc98f467b8d2b705ea2c82f9387455">OBDeviceTimestampResetConfig</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a6fba7fe67888ae13691b731a6952396f">getTimestampResetConfig</a> ()</td></tr>
<tr class="memdesc:a6fba7fe67888ae13691b731a6952396f"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取设备的时间戳重置配置  <a href="#a6fba7fe67888ae13691b731a6952396f">更多...</a><br /></td></tr>
<tr class="separator:a6fba7fe67888ae13691b731a6952396f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf6de9620c1fd69e62efa22d9b22b040"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#aaf6de9620c1fd69e62efa22d9b22b040">timestampReset</a> ()</td></tr>
<tr class="memdesc:aaf6de9620c1fd69e62efa22d9b22b040"><td class="mdescLeft">&#160;</td><td class="mdescRight">向设备发送时间戳重置命令  <a href="#aaf6de9620c1fd69e62efa22d9b22b040">更多...</a><br /></td></tr>
<tr class="separator:aaf6de9620c1fd69e62efa22d9b22b040"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22d32711d5d2c88f78da10b4af8af844"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a22d32711d5d2c88f78da10b4af8af844">timerSyncWithHost</a> ()</td></tr>
<tr class="memdesc:a22d32711d5d2c88f78da10b4af8af844"><td class="mdescLeft">&#160;</td><td class="mdescRight">将设备的计时器与主机同步  <a href="#a22d32711d5d2c88f78da10b4af8af844">更多...</a><br /></td></tr>
<tr class="separator:a22d32711d5d2c88f78da10b4af8af844"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:af9f0f1adbd5baee7830839447205af8d"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#af9f0f1adbd5baee7830839447205af8d">Pipeline</a></td></tr>
<tr class="separator:af9f0f1adbd5baee7830839447205af8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2950f414c752afb074d9849f834ae58e"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classob_1_1Device.html#a2950f414c752afb074d9849f834ae58e">Recorder</a></td></tr>
<tr class="separator:a2950f414c752afb074d9849f834ae58e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>定义 <a class="el" href="classob_1_1Device.html" title="定义 Device 类 ">Device</a> 类 </p>

<p>在文件 <a class="el" href="Device_8hpp_source.html">Device.hpp</a> 第 <a class="el" href="Device_8hpp_source.html#l00030">30</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="a4bbc101b3b034fda60a903b1e72719f5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ob::Device::Device </td>
          <td>(</td>
          <td class="paramtype">std::unique_ptr&lt; DeviceImpl &gt;&#160;</td>
          <td class="paramname"><em>impl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>描述 RGBD 相机的实体，代表一个具体型号的 RGBD 相机 </p>

</div>
</div>
<a class="anchor" id="a9fbdd8a07a50e4ce4a30804d216fe175"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual ob::Device::~Device </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a569a6702fb6714954e29f8706ec2f281"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt;<a class="el" href="classob_1_1DeviceInfo.html">DeviceInfo</a>&gt; ob::Device::getDeviceInfo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取设备信息 </p>
<dl class="section return"><dt>返回</dt><dd>std::shared_ptr&lt;DeviceInfo&gt; 返回设备的信息 </dd></dl>

</div>
</div>
<a class="anchor" id="aa81c1777e26604eceaca49057da8d3c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt;<a class="el" href="classob_1_1SensorList.html">SensorList</a>&gt; ob::Device::getSensorList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取设备传感器列表 </p>
<dl class="section return"><dt>返回</dt><dd>std::shared_ptr&lt;SensorList&gt; 返回传感器列表 </dd></dl>

</div>
</div>
<a class="anchor" id="a1596fafafe2fab26ff5fe5cc21cd954d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt;<a class="el" href="classob_1_1Sensor.html">Sensor</a>&gt; ob::Device::getSensor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#a0bf6f74f3eaabbf4a71720b9363b2aa8">OBSensorType</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取指定类型传感器 如果设备没有打开传感器，在 SDK 内部会自动打开设备并返回实例 </p>
<dl class="section return"><dt>返回</dt><dd>std::shared_ptr&lt;Sensor&gt; 返回传感器示例，如果设备没有该设备，返回 nullptr </dd></dl>

</div>
</div>
<a class="anchor" id="a66eae09af03e4af525e5e95256c56d0e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::setIntProperty </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>property</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置 int 类型的设备属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
    <tr><td class="paramname">property</td><td>要设置的属性 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7c822d67da621031f270fe2644f4bf83"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::setFloatProperty </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>property</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置 float 类型的设备属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
    <tr><td class="paramname">property</td><td>要设置的属性 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6a1dcbafd7d0283253cc69b153a13d87"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::setBoolProperty </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>property</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置 bool 类型的设备属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
    <tr><td class="paramname">property</td><td>要设置的属性 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa3c95519c4f9237b54abadf6fd06920e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ob::Device::getIntProperty </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取 int 类型的设备属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>int32_t 获取的属性数据 </dd></dl>

</div>
</div>
<a class="anchor" id="a7e904d68d7a99c3f7cbd095394f8725a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float ob::Device::getFloatProperty </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取 float 类型的设备属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>float 获取的属性数据 </dd></dl>

</div>
</div>
<a class="anchor" id="ac88b748fde7f65dbb8618b3c78d4f111"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ob::Device::getBoolProperty </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取 bool 类型的设备属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool 获取的属性数据 </dd></dl>

</div>
</div>
<a class="anchor" id="a62c9666afdf498bed5a75f8d06ab6990"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structOBIntPropertyRange.html">OBIntPropertyRange</a> ob::Device::getIntPropertyRange </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取 int 类型的设备属性的范围 (包括当前值和默认值) </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="structOBIntPropertyRange.html" title="整型范围的结构体 ">OBIntPropertyRange</a> 属性的范围 </dd></dl>

</div>
</div>
<a class="anchor" id="a5729b4690b32abb92da9afeda170d1eb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structOBFloatPropertyRange.html">OBFloatPropertyRange</a> ob::Device::getFloatPropertyRange </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取 float 类型的设备属性的范围 (包括当前值和默认值) </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="structOBFloatPropertyRange.html" title="浮点型范围的结构体 ">OBFloatPropertyRange</a> 属性的范围 </dd></dl>

</div>
</div>
<a class="anchor" id="a6bf83911afddf9f427a92a64acd58524"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structOBBoolPropertyRange.html">OBBoolPropertyRange</a> ob::Device::getBoolPropertyRange </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取 bool 类型的设备属性的范围 (包括当前值和默认值) </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="structOBBoolPropertyRange.html" title="布尔型范围的结构体 ">OBBoolPropertyRange</a> 属性的范围 </dd></dl>

</div>
</div>
<a class="anchor" id="aba075ac90895eb023a100490ccc6d6f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::writeAHB </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>reg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>mask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AHB 写寄存器 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">reg</td><td>要写入的寄存器 </td></tr>
    <tr><td class="paramname">mask</td><td>要写入的掩码 </td></tr>
    <tr><td class="paramname">value</td><td>要写入的值 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a635a8e05753a59500c092d0e127d2b3a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::readAHB </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>reg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>mask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>AHB 读寄存器 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">reg</td><td>要读取的寄存器 </td></tr>
    <tr><td class="paramname">mask</td><td>要读取的掩码 </td></tr>
    <tr><td class="paramname">value</td><td>读取的值返回 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0afce85aa8d085e210925db912492d3b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::writeI2C </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>moduleId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>reg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>mask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C 写寄存器 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">moduleId</td><td>要写入的 I2C 模块 ID </td></tr>
    <tr><td class="paramname">reg</td><td>要写入的寄存器 </td></tr>
    <tr><td class="paramname">mask</td><td>要写入的掩码 </td></tr>
    <tr><td class="paramname">value</td><td>要写入的值 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1bb47c0b13611b7dd00e3ffbcee21aec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::readI2C </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>moduleId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>reg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>mask</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>I2C 读寄存器 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">moduleId</td><td>要读取的 I2C 模块 ID </td></tr>
    <tr><td class="paramname">reg</td><td>要读取的寄存器 </td></tr>
    <tr><td class="paramname">mask</td><td>要读取的掩码 </td></tr>
    <tr><td class="paramname">value</td><td>读取的值返回 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a05f4f760a391cbae0571623e1525fd54"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::writeFlash </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dataSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="Types_8hpp.html#a55032b39d9a625cc1b43684765ad46b1">SetDataCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>async</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置写入 Flash 的属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">offset</td><td>flash 偏移地址 </td></tr>
    <tr><td class="paramname">data</td><td>要写入的属性数据 </td></tr>
    <tr><td class="paramname">dataSize</td><td>要写入的属性大小 </td></tr>
    <tr><td class="paramname">callback</td><td>写 flash 进度回调 </td></tr>
    <tr><td class="paramname">async</td><td>是否异步执行 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab7726384f7d51bd80124c0d3de505e99"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::readFlash </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dataSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="Types_8hpp.html#ad61b52694f0b59f151b1a380d3db0876">GetDataCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>async</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>读取 Flash 的属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">offset</td><td>flash 偏移地址 </td></tr>
    <tr><td class="paramname">dataSize</td><td>获取的属性大小 </td></tr>
    <tr><td class="paramname">callback</td><td>读 flash 返回的数据及进度回调 </td></tr>
    <tr><td class="paramname">async</td><td>是否异步执行 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab691352346a2f3c9b3244b9013eb3516"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::writeCustomerData </td>
          <td>(</td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dataSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置客户自定义数据，写入到 flash。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>要设置的属性数据 </td></tr>
    <tr><td class="paramname">dataSize</td><td>要设置的属性的大小，最大长度不能超过 65532 字节。 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a33ea10323fe7e482fa58fa8925aa6eeb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::readCustomerData </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>dataSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取保存在 flash 的客户自定义数据 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">data</td><td>获取的属性数据 </td></tr>
    <tr><td class="paramname">dataSize</td><td>获取的属性数据的大小 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a10a91864fdff7248c3a2a8a2d4944fdf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::setRawData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dataSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="Types_8hpp.html#a55032b39d9a625cc1b43684765ad46b1">SetDataCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>async</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置 raw data 类型的设备属性数据 [异步回调] </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
    <tr><td class="paramname">data</td><td>要设置的属性数据 </td></tr>
    <tr><td class="paramname">dataSize</td><td>要设置的属性数据大小 </td></tr>
    <tr><td class="paramname">callback</td><td>rawdata 设置进度回调 </td></tr>
    <tr><td class="paramname">async</td><td>是否异步执行 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a90a74519cb001a6af1137d7d17361ac4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::getRawData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="Types_8hpp.html#ad61b52694f0b59f151b1a380d3db0876">GetDataCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>async</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取 raw data 类型的设备属性数据 [异步回调] </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
    <tr><td class="paramname">callback</td><td>获取返回的数据及进度回调 </td></tr>
    <tr><td class="paramname">async</td><td>是否异步执行 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5e19420a05358a7d0017132e0db3425b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::setStructuredData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>dataSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置 structured data 类型的设备属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
    <tr><td class="paramname">data</td><td>要设置的属性数据 </td></tr>
    <tr><td class="paramname">dataSize</td><td>要设置的属性大小 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a49cb98480e2528dd1149d158945852e8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::getStructuredData </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>dataSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取 structured data 类型的设备属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
    <tr><td class="paramname">data</td><td>获取的属性数据 </td></tr>
    <tr><td class="paramname">dataSize</td><td>获取的属性大小 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4eed1a9902604fdeb34f53f2c75e12be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::setStructuredDataExt </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="structOBDataBundle.html">OBDataBundle</a> &gt;&#160;</td>
          <td class="paramname"><em>dataBundle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="Types_8hpp.html#a55032b39d9a625cc1b43684765ad46b1">SetDataCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置 Structured Data Ext 对象 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
    <tr><td class="paramname">dataBundle</td><td>设置的目标数据 </td></tr>
    <tr><td class="paramname">callback</td><td>设置数据回调 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afd58aee8d19a3e21fb2eb1b0b967a0ee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt;<a class="el" href="structOBDataBundle.html">OBDataBundle</a>&gt; ob::Device::getStructuredDataExt </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取 structured data 类型的数据 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>std::shared_ptr&lt;OBDataBundle&gt; 数据集 </dd></dl>

</div>
</div>
<a class="anchor" id="a62e5bf0c91dbb9e43d3c3c1bfceac071"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structOBProtocolVersion.html">OBProtocolVersion</a> ob::Device::getProtocolVersion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取设备的控制命令协议版本 </p>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="structOBProtocolVersion.html" title="控制命令协议版本号 ">OBProtocolVersion</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a29eb2331e62d75e26614de17afa71983"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a3831c1a41a610f549bd07c5c9872556f">OBCmdVersion</a> ob::Device::getCmdVersion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取控制命令的版本号 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>OBCmdVersion </dd></dl>

</div>
</div>
<a class="anchor" id="ae6c6002275057cf72084e2ec14f5241e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ob::Device::getSupportedPropertyCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取设备支持的属性的数量 </p>
<dl class="section return"><dt>返回</dt><dd>uint32_t 返回支持的属性的数量 </dd></dl>

</div>
</div>
<a class="anchor" id="a869c829df2527eaf295882a289add42d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structOBPropertyItem.html">OBPropertyItem</a> ob::Device::getSupportedProperty </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取设备支持的属性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>属性的索引 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="structOBPropertyItem.html" title="用于描述各个属性的特征 ">OBPropertyItem</a> 返回支持的属性的类型 </dd></dl>

</div>
</div>
<a class="anchor" id="a6401bf12c3eccd82891da15ebf2dd81c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ob::Device::isPropertySupported </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Property_8h.html#a9e7aac1ea041c8958ea8c6e3aa53bbab">OBPropertyID</a>&#160;</td>
          <td class="paramname"><em>propertyId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ObTypes_8h.html#aabf1ee574b8ce0e574add2cea5fdbe27">OBPermissionType</a>&#160;</td>
          <td class="paramname"><em>permission</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>判断属性权限支持情况 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">propertyId</td><td>属性 id </td></tr>
    <tr><td class="paramname">permission</td><td>需要判读的读写权限类型 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool 返回是否支持 </dd></dl>

</div>
</div>
<a class="anchor" id="ab2bd8a9f47d3fe9bb7be0b173b2cab7d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::deviceUpgrade </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filePath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="Types_8hpp.html#a7ba2b2a9b8b236cd9d7bbbf666c49989">DeviceUpgradeCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>async</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>升级设备固件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">filePath</td><td>固件的路径 </td></tr>
    <tr><td class="paramname">callback</td><td>固件升级进度及状态回调 </td></tr>
    <tr><td class="paramname">async</td><td>是否异步执行 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6f0f110f2ef0edeba0bf776241878580"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::deviceUpgradeFromData </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>fileData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>fileSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="Types_8hpp.html#a7ba2b2a9b8b236cd9d7bbbf666c49989">DeviceUpgradeCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>async</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>升级设备固件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">fileData</td><td>固件文件数据 </td></tr>
    <tr><td class="paramname">fileSize</td><td>固件文件大小 </td></tr>
    <tr><td class="paramname">callback</td><td>固件升级进度及状态回调 </td></tr>
    <tr><td class="paramname">async</td><td>是否异步执行 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad0a525cebe10c3369d3060516a1ab3ef"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::sendFile </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filePath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>dstPath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="Types_8hpp.html#af4ed1a1867e655fa5e4b77e646f080a4">SendFileCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>async</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送文件到设备端指定路径 [异步回调] </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">filePath</td><td>原文件路径 </td></tr>
    <tr><td class="paramname">dstPath</td><td>设备端接受保存路径 </td></tr>
    <tr><td class="paramname">callback</td><td>文件传输回调 </td></tr>
    <tr><td class="paramname">async</td><td>是否异步执行 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aac2306bc576a712b9ac2ce8ec72d55f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a22fc53a75b8fa17029bb0befcb9c6829">OBDeviceState</a> ob::Device::getDeviceState </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取当前设备状态 </p>
<dl class="section return"><dt>返回</dt><dd>OBDeviceState 设备状态信息 </dd></dl>

</div>
</div>
<a class="anchor" id="acb598f9726aafc210c7fb01774065172"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::setDeviceStateChangedCallback </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="Types_8hpp.html#a13d2e28ccdab82c8e22163d4b71f48aa">DeviceStateChangedCallback</a>&#160;</td>
          <td class="paramname"><em>callback</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置设备状态改变回调函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">callback</td><td>设备状态改变（如，由于温度过高自动降低帧率或关流等）时触发的回调函数 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2bec58d49565ad02b7951907fb71ee2c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ob::Device::activateAuthorization </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>authCode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>验证设备授权码 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">authCode</td><td>授权码 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>bool 激活是否成功 </dd></dl>

</div>
</div>
<a class="anchor" id="a31d17dfb1127c3991a077ebd0d64ae4f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::writeAuthorizationCode </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>authCodeStr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>写入设备授权码 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">authCodeStr</td><td>授权码 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a792366d449d6cf97696f77c0b478bf25"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt;<a class="el" href="classob_1_1CameraParamList.html">CameraParamList</a>&gt; ob::Device::getCalibrationCameraParamList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取设备内保存的相机标定的原始参数列表， </p>
<dl class="section attention"><dt>注意</dt><dd>列表内参数不与当前开流配置相对应，需要自行根据实际情况选用参数并可能需要做缩放、镜像等处理。非专业用户建议使用 <a class="el" href="classob_1_1Pipeline.html#ad4f59acb5ed8ed7db43535513fb9bcf2" title="获取相机参数 ">Pipeline::getCameraParam()</a> 接口。</dd></dl>
<dl class="section return"><dt>返回</dt><dd>std::shared_ptr&lt;CameraParamList&gt; 相机参数列表 </dd></dl>

</div>
</div>
<a class="anchor" id="a1377e9b551a7b35fc59c984896cc5df0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structOBDepthWorkMode.html">OBDepthWorkMode</a> ob::Device::getCurrentDepthWorkMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>查询当前的相机深度模式 </p>
<dl class="section return"><dt>返回</dt><dd>返回当前的相机深度模式 </dd></dl>

</div>
</div>
<a class="anchor" id="ab952b1ebbfb58738024e8a8a164b5bcf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a16946a0e76e54d58fe6a945fccc3190b">OBStatus</a> ob::Device::switchDepthWorkMode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structOBDepthWorkMode.html">OBDepthWorkMode</a> &amp;&#160;</td>
          <td class="paramname"><em>workMode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>切换相机深度模式（根据深度工作模式对象），如果知道设备支持的深度工作模式名称，那么推荐用 <a class="el" href="classob_1_1Device.html#a9601703a8e0c49a6128fc5fbba012be8" title="切换相机深度模式（根据深度工作模式名称） ">switchDepthWorkMode(const char *modeName)</a> </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">workMode</td><td>要切换的相机深度模式</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回指令是否切换成功 </dd></dl>

</div>
</div>
<a class="anchor" id="a9601703a8e0c49a6128fc5fbba012be8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#a16946a0e76e54d58fe6a945fccc3190b">OBStatus</a> ob::Device::switchDepthWorkMode </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>modeName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>切换相机深度模式（根据深度工作模式名称） </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">modeName</td><td>相机深度工作模式的名称，模式名称必须与 <a class="el" href="structOBDepthWorkMode.html#a3d869051a5fb201a042fa33135fcfb6b" title="工作模式名称 ">OBDepthWorkMode.name</a> 一致</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ob_status 设置设置结果，OB_STATUS_OK 成功，其他：设置失败 </dd></dl>

</div>
</div>
<a class="anchor" id="a77eefea9ac546664ef91faac278a7957"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt;<a class="el" href="classob_1_1OBDepthWorkModeList.html">OBDepthWorkModeList</a>&gt; ob::Device::getDepthWorkModeList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>查询相机深度模式列表 </p>
<dl class="section return"><dt>返回</dt><dd>相机深度模式列表 </dd></dl>

</div>
</div>
<a class="anchor" id="a9abc8db448a8181e2cf5849f3dea75dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::reboot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设备重启 </p>
<dl class="section attention"><dt>注意</dt><dd>设备会掉线重连，设备掉线后对 <a class="el" href="classob_1_1Device.html" title="定义 Device 类 ">Device</a> 对象接口访问可能会发生异常，请直接删除该对象， 待设备重连后可重新获取。 </dd></dl>

</div>
</div>
<a class="anchor" id="a6370104afd5044074c8a0069816ac156"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::reboot </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>delayMs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设备重启延迟模式 </p>
<dl class="section attention"><dt>注意</dt><dd>设备将断开并重新连接。设备断开连接后，访问 <a class="el" href="classob_1_1Device.html" title="定义 Device 类 ">Device</a> 对象接口可能会出现异常。 请直接删除该对象，并在设备重新连接后重新获取。 支持设备：Gemini2 L</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">delayMs</td><td>时间单位：ms。delayMs == 0：无延迟；delayMs &gt; 0, 重启后延迟毫秒连接主机设备 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a39fb107e1de53d5b5a122f3178b5dde0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#ac1e8a42306d8e67cb94ca31c3956ee78">DEPRECATED</a> uint64_t ob::Device::syncDeviceTime </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>同步设备时间（将本地系统时间同步到设备） </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">弃用:</a></b></dt><dd>此接口已弃用，请改用 <a class="el" href="classob_1_1Device.html#a22d32711d5d2c88f78da10b4af8af844">timerSyncWithHost</a> </dd></dl>
<dl class="section return"><dt>返回</dt><dd>命令（往返时间，rtt） </dd></dl>

</div>
</div>
<a class="anchor" id="ae522b554820d4fb62f38c78e9a15dc0f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#ac1e8a42306d8e67cb94ca31c3956ee78">DEPRECATED</a> <a class="el" href="structOBDeviceSyncConfig.html">OBDeviceSyncConfig</a> ob::Device::getSyncConfig </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取当前设备同步配置 </p>
<p>设备同步：包括单个传感器内不同传感器的曝光同步功能和多摄像头同步功能机器</p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000002">弃用:</a></b></dt><dd>此接口已弃用，请改用 <a class="el" href="classob_1_1Device.html#a140c19bc71384cf4aaa751879a27a1ba">getMultiDeviceSyncConfig</a></dd></dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="structOBDeviceSyncConfig.html" title="设备同步配置 ">OBDeviceSyncConfig</a> 设备同步配置 </dd></dl>

</div>
</div>
<a class="anchor" id="a24e8e3e4c80d1b8f73fbdd3215cec501"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#ac1e8a42306d8e67cb94ca31c3956ee78">DEPRECATED</a> void ob::Device::setSyncConfig </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structOBDeviceSyncConfig.html">OBDeviceSyncConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>deviceSyncConfig</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置设备同步配置 </p>
<p>用于在单机中配置不同传感器的曝光同步功能和多摄像头同步功能</p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000003">弃用:</a></b></dt><dd>此接口已弃用，请改用 <a class="el" href="classob_1_1Device.html#a0c85a231a9d0fa0adfc23038adb185b3">setMultiDeviceSyncConfig</a></dd></dl>
<dl class="section attention"><dt>注意</dt><dd>调用此函数将直接将配置写入设备 Flash，并且在设备重新启动后仍然有效。为避免影响 Flash 的使用寿命，请不要频繁更新配置</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">deviceSyncConfig</td><td>设备同步配置 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aecf09140ececba0e42283d3aa236b8f2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t ob::Device::getSupportedMultiDeviceSyncModeBitmap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取设备支持的多设备同步模式位图 </p>
<p>例如，如果返回值为 0b00001100 ，则表示设备支持 <a class="el" href="ObTypes_8h.html#aabad929b67059752029c3374594ac63ba8e2f43bf0dd49abc986b551b75e0a923">OB_MULTI_DEVICE_SYNC_MODE_PRIMARY</a> 和 OB_MULTI_vice_SYNC_MODE_SECONDARY 。用户可以通过以下代码检查支持的模式： </p><div class="fragment"><div class="line"><span class="keywordflow">if</span>(supported_mode_bitmap &amp; OB_MULTI_DEVICE_SYNC_MODE_FREE_RUN){</div><div class="line">   <span class="comment">//support OB_MULTI_DEVICE_SYNC_MODE_FREE_RUN</span></div><div class="line">}</div><div class="line"><span class="keywordflow">if</span>(supported_mode_bitmap &amp; OB_MULTI_DEVICE_SYNC_MODE_STANDALONE){</div><div class="line">  <span class="comment">//support OB_MULTI_DEVICE_SYNC_MODE_STANDALONE</span></div><div class="line">}</div><div class="line"><span class="comment">// and so on</span></div></div><!-- fragment --> <dl class="section return"><dt>返回</dt><dd>uint16_t 返回设备支持的多设备同步模式位图 </dd></dl>

</div>
</div>
<a class="anchor" id="a0c85a231a9d0fa0adfc23038adb185b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::setMultiDeviceSyncConfig </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ObTypes_8h.html#af4e7a91cbe5b14388da412de0deca8f1">OBMultiDeviceSyncConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置设备的多设备同步配置 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">config</td><td>多设备同步配置 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a140c19bc71384cf4aaa751879a27a1ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#af4e7a91cbe5b14388da412de0deca8f1">OBMultiDeviceSyncConfig</a> ob::Device::getMultiDeviceSyncConfig </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取设备的多设备同步配置 </p>
<dl class="section return"><dt>返回</dt><dd>OBMultiDeviceSyncConfig 设备的多设备同步配置 </dd></dl>

</div>
</div>
<a class="anchor" id="aa9d3807dae6d8a1fab5ffde4c51b30bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::triggerCapture </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将捕获命令发送到设备 </p>
<p>当设备处于 <a class="el" href="ObTypes_8h.html#aabad929b67059752029c3374594ac63ba2fe8400ffd77e63929e69bb0f0ab1da6">OB_MULTI_DEVICE_SYNC_MODE_SOFTWARE_TRIGGERING</a> 模式时，设备会进行一次图像抓拍</p>
<dl class="section attention"><dt>注意</dt><dd>用户调用此函数的频率乘以每个触发器的帧数应该小于流的帧速率。每个触发器的帧数可以由 framesPerTrigger 设置 </dd>
<dd>
对于某些型号，接收和执行捕获命令会有一定的延迟和性能消耗，因此调用的频率此功能不宜过高，具体支持频率请参阅产品说明书 </dd>
<dd>
如果设备未处于 <a class="el" href="ObTypes_8h.html#aabad929b67059752029c3374594ac63ba39ca63ef583695c083588ae28ea22ad9">OB_MULTI_DEVICE_SYNC_MODE_HARDWARE_TRIGGERING</a> 模式，则设备将忽略捕获命令 </dd></dl>

</div>
</div>
<a class="anchor" id="acb82d723ca4449bb42beb58b1519c43f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::setTimestampResetConfig </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ObTypes_8h.html#acbdc98f467b8d2b705ea2c82f9387455">OBDeviceTimestampResetConfig</a> &amp;&#160;</td>
          <td class="paramname"><em>config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置设备的时间戳重置配置 </p>

</div>
</div>
<a class="anchor" id="a6fba7fe67888ae13691b731a6952396f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ObTypes_8h.html#acbdc98f467b8d2b705ea2c82f9387455">OBDeviceTimestampResetConfig</a> ob::Device::getTimestampResetConfig </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取设备的时间戳重置配置 </p>
<dl class="section return"><dt>返回</dt><dd>OBDeviceTimestampResetConfig 设备的时间戳重置配置. </dd></dl>

</div>
</div>
<a class="anchor" id="aaf6de9620c1fd69e62efa22d9b22b040"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::timestampReset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>向设备发送时间戳重置命令 </p>
<p>当时间戳重置功能已启用。时间戳重置功能可以通过调用 <a class="el" href="MultipleDevices_8h.html#a293ead22918e776ce10334e26e20d313">ob_device_set_timestamp_reset_config</a> 来启用 在调用此函数之前，用户应该调用 <a class="el" href="MultipleDevices_8h.html#a293ead22918e776ce10334e26e20d313">ob_device_set_timestamp_reset_config</a> 来禁用时间戳重置函数（它不是某些型号需要，但为了代码兼容性，仍然建议这样做）</p>
<dl class="section attention"><dt>注意</dt><dd>如果设备的流被启动，则流输出的连续帧的时间戳将在时间戳重置后跳一次 </dd>
<dd>
由于设备的定时器精度不高，流输出的连续帧的时间戳在长时间后会漂移，用户可以定期调用此功能来重置计时器，以避免时间戳漂移，建议间隔时间为 60 分钟 </dd></dl>

</div>
</div>
<a class="anchor" id="a22d32711d5d2c88f78da10b4af8af844"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ob::Device::timerSyncWithHost </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将设备的计时器与主机同步 </p>
<p>调用此功能后，设备的计时器将与主机同步。用户可以将此函数调用到多个设备同步设备的所有定时器</p>
<dl class="section attention"><dt>注意</dt><dd>如果设备的流被启动，则该流输出的连续帧的时间戳可能在定时器同步之后跳一次 </dd>
<dd>
由于设备的定时器精度不高，流输出的连续帧的时间戳在长时间后会漂移。用户可以定期调用此功能来同步定时器，以避免时间戳漂移，建议间隔时间为 60 分钟 </dd></dl>

</div>
</div>
<h2 class="groupheader">友元及相关函数文档</h2>
<a class="anchor" id="af9f0f1adbd5baee7830839447205af8d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classob_1_1Pipeline.html">Pipeline</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在文件 <a class="el" href="Device_8hpp_source.html">Device.hpp</a> 第 <a class="el" href="Device_8hpp_source.html#l00525">525</a> 行定义.</p>

</div>
</div>
<a class="anchor" id="a2950f414c752afb074d9849f834ae58e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classob_1_1Recorder.html">Recorder</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在文件 <a class="el" href="Device_8hpp_source.html">Device.hpp</a> 第 <a class="el" href="Device_8hpp_source.html#l00526">526</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>header_cn/libobsensor/hpp/<a class="el" href="Device_8hpp_source.html">Device.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2023年 十一月 24日 星期五 10:56:17 , 为 OrbbecSDK使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
